public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addFirst(1);
        myLinkedList.addFirst(15);
        myLinkedList.addFirst(16);
        myLinkedList.addFirst(13);
        myLinkedList.addLast(14);
        myLinkedList.remove(1);
        myLinkedList.display();
        System.out.println("======");
        myLinkedList.removeAllKey(1);
        myLinkedList.display();
        System.out.println("======");
        myLinkedList.clear();
        myLinkedList.display();
        //myLinkedList.addIndex(2,99);
        //myLinkedList.display();

    }

}
